body,
html {
    width: 100%;
    height: 100%;
}
$scrollbar-width: 17px;
$nav-header-height: 53px;
$aside-width: 250px;
$aside-top: $nav-header-height;
$aside-bottom: 0;
$aside-wrapper-width: $aside-width+$scrollbar-width;
$aside-wrapper-margin-right: -$scrollbar-width;
$content-top: $nav-header-height;
$content-bottom: 0;
$content-left: $aside-width+10px;
$content-right: -$scrollbar-width;
$content-wrapper-margin-right: -$scrollbar-width;
$content-view-padding-right: 10px;

.aside {
    box-sizing: border-box;
    position: fixed;
    top: $aside-top;
    bottom: $aside-bottom;
    width: $aside-width;
    overflow: hidden;
    background-color: #DDE6E9;
    border-right: 1px solid darken(#DDE6E9, 10);

    .aside-wrapper {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        // 隐藏滚动条
        margin-right: $aside-wrapper-margin-right;

        .aside-view {
            width: $aside-width;
            padding-bottom: 1.2em;
        }
    }
}

.content {
    box-sizing: border-box;
    position: fixed;
    top: $content-top;
    bottom: $content-bottom;
    left: $content-left;
    right: $content-right;
    // border: 1px solid blue;
    // overflow: hidden;
    .content-wrapper {
        // width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        // 隐藏滚动条
        // margin-right: $content-wrapper-margin-right;
        .content-view {
            padding-right: $scrollbar-width + 5px;
        }
    }
}

#ui-view {
    padding: 1em 0;
}

.nav-tabs > li.active > a {
    background-color: #f5f5f5;
}

.table-animated {
    animation-name: slideInDown;
}

ul.nav {
    li {
        a > i {
            margin-right: 10px;
        }
    }
}

ul.nav-sub {
    background-color: #E4EAEC;

    a {
        font-size: 0.9em;
        padding-left: 60px;
    }
}

div.ui-view-container {
    position: relative;
    // height: 65px;
    div.ng-enter,
    div.ng-leave {
        position: absolute;
        left: 0;
        right: 0;
        transition: all 0.5s ease-in-out;
    }

    div.ng-enter {
        opacity: 0;
        // transform: scale3d(0.5, 0.5, 0.5);
        transform: translate3d(0, -25px, 0);
    }

    div.ng-enter-active {
        opacity: 1;
        // transform: scale3d(1, 1, 1);
        transform: translate3d(0, 0, 0);
    }

    div.ng-leave {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    div.ng-leave-active {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
}
